#ifndef METHODDECLASSICAL_H
#define METHODDECLASSICAL_H

#include "Method.h"
class MethodDEClassical: public Method {
public:
     MethodDEClassical(Method::SubType subType, Problem * problem,unsigned int popSize, unsigned int iterations);
     ~MethodDEClassical();

     OptimizedValue optimize(int caseProblem);
     void Crossover(matrix & population, matrix & mutatedPopulation, RandomLib::Random r, unsigned int j);
     double getCr() {
          return cr;
     }
     void setCr(double val) {
          cr=val;
     }
private:
     double cr;
};

#endif // METHODDECLASSICAL_H
